package la.renzhen.rtpt.demo.configuration;

import la.renzhen.rtpt.config.FluentConfiguration;
import lombok.Data;

@FluentConfiguration("demo")
public interface DemoConfig {

    @Data
    public class SubConfig {
        String param3;
        int param4;
    }

    @FluentConfiguration.DefaultValue("默认值")
    String param1();

    @FluentConfiguration.DefaultValue("34")
    int param2();

    @FluentConfiguration.DefaultValue("{}")
    SubConfig sub();
}
